package cn.tedu.properties.service;

import cn.tedu.properties.pojo.dto.PropertiesSaveParam;
import cn.tedu.properties.pojo.entity.Property;
import cn.tedu.properties.pojo.param.QueryParam;
import cn.tedu.properties.pojo.vo.PropertyVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface PropertiesService{
    List<PropertyVO> selectAll(QueryParam queryParam);

//    IPage<Property> selectPaging(QueryParam queryParam);
    IPage<PropertyVO> selectPaging(QueryParam queryParam);

    void addProperties(PropertiesSaveParam propertiesSaveParam);

    void deletePropertiesByIds(Long[] ids);

    void editProperties(PropertiesSaveParam propertiesSaveParam);

    void scrapProperties(Long id);

    void scrapPropertiesByIds(Long[] ids);
}
